[INFO] cloning repository https://github.com/ahmedriza/learn-async-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ahmedriza/learn-async-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahmedriza%2Flearn-async-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahmedriza%2Flearn-async-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 02cffc8db51df3d129c73136cdd0768ebd84d02b
[INFO] fixing ahmedriza/learn-async-rust against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fahmedriza%2Flearn-async-rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ahmedriza/learn-async-rust
[INFO] finished tweaking git repo https://github.com/ahmedriza/learn-async-rust
[INFO] tweaked toml for git repo https://github.com/ahmedriza/learn-async-rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ahmedriza/learn-async-rust on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ahmedriza/learn-async-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c8e73bc68b3e112ab88b2c911dfe06ce16d0b214efd7c9c78791526f11ec4172
[INFO] running `Command { std: "docker" "start" "c8e73bc68b3e112ab88b2c911dfe06ce16d0b214efd7c9c78791526f11ec4172", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c8e73bc68b3e112ab88b2c911dfe06ce16d0b214efd7c9c78791526f11ec4172" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c8e73bc68b3e112ab88b2c911dfe06ce16d0b214efd7c9c78791526f11ec4172", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c8e73bc68b3e112ab88b2c911dfe06ce16d0b214efd7c9c78791526f11ec4172" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]     Checking litemap v0.7.5
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling zerocopy v0.8.24
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]     Checking brotli v7.0.0
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling cc v1.2.19
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]     Checking tokio v1.44.2
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking tokio-util v0.7.14
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]     Checking actix-server v2.5.1
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking actix-http v3.10.0
[INFO] [stderr]     Checking actix-web v4.10.2
[INFO] [stderr]     Checking learn-async-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type alias `Events` is never used
[INFO] [stdout]  --> src/poll.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 |     type Events = Vec<ffi::Event>;
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Poll` is never constructed
[INFO] [stdout]   --> src/poll.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub struct Poll {
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `registry`, and `poll` are never used
[INFO] [stdout]   --> src/poll.rs:16:16
[INFO] [stdout]    |
[INFO] [stdout] 14 |     impl Poll {
[INFO] [stdout]    |     --------- associated items in this implementation
[INFO] [stdout] 15 |         /// Create a new event queue.
[INFO] [stdout] 16 |         pub fn new() -> anyhow::Result<Self> {
[INFO] [stdout]    |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |         pub fn registry(&self) -> &Registry {
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |         pub fn poll(
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Registry` is never constructed
[INFO] [stdout]   --> src/poll.rs:68:16
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub struct Registry {
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `register` is never used
[INFO] [stdout]   --> src/poll.rs:77:16
[INFO] [stdout]    |
[INFO] [stdout] 72 |     impl Registry {
[INFO] [stdout]    |     ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 77 |         pub fn register(
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `Events` is never used
[INFO] [stdout]  --> src/poll.rs:7:10
[INFO] [stdout]   |
[INFO] [stdout] 7 |     type Events = Vec<ffi::Event>;
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Poll` is never constructed
[INFO] [stdout]   --> src/poll.rs:10:16
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub struct Poll {
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `registry`, and `poll` are never used
[INFO] [stdout]   --> src/poll.rs:16:16
[INFO] [stdout]    |
[INFO] [stdout] 14 |     impl Poll {
[INFO] [stdout]    |     --------- associated items in this implementation
[INFO] [stdout] 15 |         /// Create a new event queue.
[INFO] [stdout] 16 |         pub fn new() -> anyhow::Result<Self> {
[INFO] [stdout]    |                ^^^
[INFO] [stdout] ...
[INFO] [stdout] 28 |         pub fn registry(&self) -> &Registry {
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |         pub fn poll(
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Registry` is never constructed
[INFO] [stdout]   --> src/poll.rs:68:16
[INFO] [stdout]    |
[INFO] [stdout] 68 |     pub struct Registry {
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `register` is never used
[INFO] [stdout]   --> src/poll.rs:77:16
[INFO] [stdout]    |
[INFO] [stdout] 72 |     impl Registry {
[INFO] [stdout]    |     ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 77 |         pub fn register(
[INFO] [stdout]    |                ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `learn_async_rust::poll::Poll`
[INFO] [stdout]  --> src/bin/poll_test.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     poll::Poll,
[INFO] [stdout]   |     ^^^^^^----
[INFO] [stdout]   |           |
[INFO] [stdout]   |           no `Poll` in `poll`
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing one of these items instead:
[INFO] [stdout]           std::task::Poll
[INFO] [stdout]           mio::Poll
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/bin/c_fibres.rs:259:70
[INFO] [stdout]     |
[INFO] [stdout] 259 |                 std::ptr::write(s_ptr.offset(-16) as *mut u64, guard as u64);
[INFO] [stdout]     |                                                                      ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 259 |                 std::ptr::write(s_ptr.offset(-16) as *mut u64, guard as *const () as u64);
[INFO] [stdout]     |                                                                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/bin/c_fibres.rs:260:69
[INFO] [stdout]     |
[INFO] [stdout] 260 |                 std::ptr::write(s_ptr.offset(-24) as *mut u64, skip as u64);
[INFO] [stdout]     |                                                                     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 260 |                 std::ptr::write(s_ptr.offset(-24) as *mut u64, skip as *const () as u64);
[INFO] [stdout]     |                                                                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `x1`: unknown register
[INFO] [stdout]   --> src/bin/ch3.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |             in("x1") ptr,
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `ctx` is assigned to, but never used
[INFO] [stdout]   --> src/bin/stack_swap.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let mut ctx = ThreadContext::default();
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_ctx` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ctx` is never read
[INFO] [stdout]   --> src/bin/stack_swap.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |         ctx.sp = s_ptr.offset(-16) as u64;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `x2`: unknown register
[INFO] [stdout]   --> src/bin/ch3.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |             in("x2") len,
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `x16`: unknown register
[INFO] [stdout]   --> src/bin/ch3.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |             out("x16") _,
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `x0`: unknown register
[INFO] [stdout]   --> src/bin/ch3.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |             out("x0") _,
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ctx` is never read
[INFO] [stdout]   --> src/bin/stack_swap.rs:42:9
[INFO] [stdout]    |
[INFO] [stdout] 42 |         ctx.lr = hello as u64;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `x1`: unknown register
[INFO] [stdout]   --> src/bin/ch3.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |             lateout("x1") _,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `x2`: unknown register
[INFO] [stdout]   --> src/bin/ch3.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |             lateout("x2") _,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> src/bin/stack_swap.rs:39:65
[INFO] [stdout]    |
[INFO] [stdout] 39 |         std::ptr::write(s_ptr.offset(-16) as *mut u64, t_return as u64);
[INFO] [stdout]    |                                                                 ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 39 |         std::ptr::write(s_ptr.offset(-16) as *mut u64, t_return as *const () as u64);
[INFO] [stdout]    |                                                                 ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]   --> src/bin/stack_swap.rs:42:24
[INFO] [stdout]    |
[INFO] [stdout] 42 |         ctx.lr = hello as u64;
[INFO] [stdout]    |                        ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]    |
[INFO] [stdout] 42 |         ctx.lr = hello as *const () as u64;
[INFO] [stdout]    |                        ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `x1`: unknown register
[INFO] [stdout]   --> src/bin/ch3.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |             in("x1") ptr,
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `x2`: unknown register
[INFO] [stdout]   --> src/bin/ch3.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |             in("x2") len,
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `x16`: unknown register
[INFO] [stdout]   --> src/bin/ch3.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |             out("x16") _,
[INFO] [stdout]    |             ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `x0`: unknown register
[INFO] [stdout]   --> src/bin/ch3.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |             out("x0") _,
[INFO] [stdout]    |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `x1`: unknown register
[INFO] [stdout]   --> src/bin/ch3.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |             lateout("x1") _,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: invalid register `x2`: unknown register
[INFO] [stdout]   --> src/bin/ch3.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |             lateout("x2") _,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `env` in this scope
[INFO] [stdout]   --> src/bin/poll_test.rs:18:24
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let base_url = env::args()
[INFO] [stdout]    |                        ^^^ use of unresolved module or unlinked crate `env`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `env`, use `cargo add env` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::env;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learn-async-rust` (bin "ch3" test) due to 6 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: cannot find type `TcpStream` in this scope
[INFO] [stdout]   --> src/bin/poll_test.rs:28:30
[INFO] [stdout]    |
[INFO] [stdout] 28 |             let mut stream = TcpStream::connect(&addr)?;
[INFO] [stdout]    |                              ^^^^^^^^^ use of undeclared type `TcpStream`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use actix_web::rt::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use mio::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tokio::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learn-async-rust` (bin "ch3") due to 6 previous errors
[INFO] [stdout] error[E0433]: cannot find type `HashSet` in this scope
[INFO] [stdout]   --> src/bin/poll_test.rs:46:31
[INFO] [stdout]    |
[INFO] [stdout] 46 |         let mut handled_ids = HashSet::new();
[INFO] [stdout]    |                               ^^^^^^^ use of undeclared type `HashSet`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::collections::HashSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `TcpStream` in this scope
[INFO] [stdout]   --> src/bin/poll_test.rs:71:20
[INFO] [stdout]    |
[INFO] [stdout] 71 |     streams: &mut [TcpStream],
[INFO] [stdout]    |                    ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these structs
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use actix_web::rt::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use mio::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use tokio::net::TcpStream;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `HashSet` in this scope
[INFO] [stdout]   --> src/bin/poll_test.rs:72:19
[INFO] [stdout]    |
[INFO] [stdout] 72 |     handled: &mut HashSet<usize>,
[INFO] [stdout]    |                   ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::collections::HashSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `io` in this scope
[INFO] [stdout]    --> src/bin/poll_test.rs:106:39
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 Err(e) if e.kind() == io::ErrorKind::WouldBlock => break,
[INFO] [stdout]     |                                       ^^ use of unresolved module or unlinked crate `io`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 106 |                 Err(e) if e.kind() == mio::ErrorKind::WouldBlock => break,
[INFO] [stdout]     |                                       +
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::ErrorKind;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tokio::io::ErrorKind;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `ErrorKind`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 106 -                 Err(e) if e.kind() == io::ErrorKind::WouldBlock => break,
[INFO] [stdout] 106 +                 Err(e) if e.kind() == ErrorKind::WouldBlock => break,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `io` in this scope
[INFO] [stdout]    --> src/bin/poll_test.rs:110:39
[INFO] [stdout]     |
[INFO] [stdout] 110 |                 Err(e) if e.kind() == io::ErrorKind::Interrupted => break,
[INFO] [stdout]     |                                       ^^ use of unresolved module or unlinked crate `io`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 110 |                 Err(e) if e.kind() == mio::ErrorKind::Interrupted => break,
[INFO] [stdout]     |                                       +
[INFO] [stdout] help: consider importing one of these enums
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::ErrorKind;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tokio::io::ErrorKind;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `ErrorKind`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 110 -                 Err(e) if e.kind() == io::ErrorKind::Interrupted => break,
[INFO] [stdout] 110 +                 Err(e) if e.kind() == ErrorKind::Interrupted => break,
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/bin/c_fibres.rs:259:70
[INFO] [stdout]     |
[INFO] [stdout] 259 |                 std::ptr::write(s_ptr.offset(-16) as *mut u64, guard as u64);
[INFO] [stdout]     |                                                                      ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 259 |                 std::ptr::write(s_ptr.offset(-16) as *mut u64, guard as *const () as u64);
[INFO] [stdout]     |                                                                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/bin/c_fibres.rs:260:69
[INFO] [stdout]     |
[INFO] [stdout] 260 |                 std::ptr::write(s_ptr.offset(-24) as *mut u64, skip as u64);
[INFO] [stdout]     |                                                                     ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 260 |                 std::ptr::write(s_ptr.offset(-24) as *mut u64, skip as *const () as u64);
[INFO] [stdout]     |                                                                     ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `learn-async-rust` (bin "poll_test" test) due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "c8e73bc68b3e112ab88b2c911dfe06ce16d0b214efd7c9c78791526f11ec4172", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8e73bc68b3e112ab88b2c911dfe06ce16d0b214efd7c9c78791526f11ec4172", kill_on_drop: false }`
[INFO] [stdout] c8e73bc68b3e112ab88b2c911dfe06ce16d0b214efd7c9c78791526f11ec4172
